package com.chub.study.modules.service;

import com.chub.study.modules.entity.TLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chub.study.modules.entity.TMessage;

/**
 * <p>
 * 日志表 服务类
 * </p>
 *
 * @author Chub
 * @since 2022-11-02
 */
public interface TLogService extends IService<TLog> {

    boolean saveHandleLog(TMessage message, String logLevel, String handleState, String info) throws InterruptedException;
    boolean debug(TMessage message, String handleState, String respInfo);
    boolean info(TMessage message, String handleState, String respInfo);
    boolean warn(TMessage message,  String handleState, String respInfo);
    boolean error(TMessage message, String handleState, String respInfo);
}
